<div class="tms-main-page-function">
    <div class="main-content">
        <div class="page-function">
            <ul class="wms-wbm-fun-left">
                <button class="layui-btn" ng-click="printOutboundReceiptClick()">打印出库交接单</button>
            </ul>
            <div class="wms-wbm-fun-right">
                <input type="text" placeholder="车架号-->回车查询" class="search-input" ng-model="search.otVin" ng-keydown="searchListKeyDown($event)" />
                <button class="layui-btn" ng-click="moreClick()" ng-bind="moreText"></button>
                <i class="iconfont icon-shuaxin layui-anim layui-anim-loop layui-anim-rotate wms-refresh" ng-click="refreshClick()" refresh></i>
            </div>
        </div>
        <div class="otherForm" ng-show="otherForm">
            <ul>
                <li>
                    <div class="otherFormItem">
                        <div>交接单号</div>
                        <div>
                            <input type="text" class="layui-input" ng-model="search.hoHandoverNumber"/>
                        </div>
                    </div>

                    <div class="otherFormItem">
                        <div>打印状态</div>
                        <div>
                            <ui-select ng-model="dropDownDefault.printStatus">
                                <ui-select-match>
                                    <span ng-bind="$select.selected.name"></span>
                                </ui-select-match>
                                <ui-select-choices repeat="printStatus in (dropDownList.printStatus | filter: $select.search)">
                                    <span ng-bind="printStatus.name"></span>
                                </ui-select-choices>
                                <ui-select-no-choice>
                                    没有加载到数据
                                </ui-select-no-choice>
                            </ui-select>
                        </div>
                    </div>

                    <div class="otherFormItem">
                        <div>打印时间从</div>
                        <div>
                            <input type="text" lay-verify="date" placeholder="yyyy-mm-dd" ng-model="search.printStartTime" ng-click="Tools.modelAssignment($event,this)" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this,format:'YYYY-MM-DD',choose : angular.element(this).scope().Tools.modelAssignment,scope:angular.element(this).scope()})">
                        </div>
                    </div>

                    <div class="otherFormItem">
                        <div>至</div>
                        <div>
                            <input type="text" lay-verify="date" placeholder="yyyy-mm-dd" ng-model="search.printEndTime" ng-click="Tools.modelAssignment($event,this)" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this,format:'YYYY-MM-DD',choose : angular.element(this).scope().Tools.modelAssignment,scope:angular.element(this).scope()})">
                        </div>
                    </div>
                </li>

                <li>
                    <div class="otherFormItem">
                        <div>创建时间</div>
                        <div>
                            <input type="text" lay-verify="date" placeholder="yyyy-mm-dd" ng-model="search.startCreateTime" ng-click="Tools.modelAssignment($event,this)" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this,format:'YYYY-MM-DD',choose : angular.element(this).scope().Tools.modelAssignment,scope:angular.element(this).scope()})">
                        </div>
                    </div>

                    <div class="otherFormItem">
                        <div>至</div>
                        <div>
                            <input type="text" lay-verify="date" placeholder="yyyy-mm-dd" ng-model="search.endCreateTime" ng-click="Tools.modelAssignment($event,this)" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this,format:'YYYY-MM-DD',choose : angular.element(this).scope().Tools.modelAssignment,scope:angular.element(this).scope()})">
                        </div>
                    </div>
                </li>

                <li>
                    <div class="otherFormItem otherFormItemButton">
                        <button class="layui-btn" ng-click="searchClick()">查询</button>
                        <button class="layui-btn" ng-click="resetClick()">重置</button>
                    </div>
                </li>
            </ul>
        </div>
        <div class="layui-form scrollTable">
            <table class="layui-table wms_wbm_main_table serial minScreen outboundPrintReceiptTable">
                <tbody>
                    <tr>
                        <th>
                            <input type="checkbox" name="allChoose" lay-skin="primary" lay-filter="allChoose">
                            <div class="layui-unselect layui-form-checkbox" lay-skin="primary">
                                <i class="layui-icon"></i>
                            </div>
                        </th>
                        <th>交接单号</th>
                        <th>车架号(VIN码)</th>
                        <th>车型</th>
                        <th>创建时间</th>
                        <th>打印状态</th>
                        <th>打印操作人</th>
                        <th>打印时间</th>
                        <th>打印次数</th>
                    </tr>
                    <tr ng-repeat="outboundPrintReceipt in outboundPrintReceiptList" ng-click="Tools.initTableClick($event)">
                        <td>
                            <input type="checkbox" name="ckValue" ng-value="$index" lay-skin="primary" />
                            <div class="layui-unselect layui-form-checkbox" lay-skin="primary">
                                <i class="layui-icon"></i>
                            </div>
                        </td>
                        <td ng-bind="outboundPrintReceipt.hoHandoverNumber"></td>
                        <td ng-bind="outboundPrintReceipt.otVin"></td>
                        <td ng-bind="outboundPrintReceipt.otVehicleSpecName"></td>
                        <td ng-bind="outboundPrintReceipt.gmtCreate"></td>
                        <td ng-bind="outboundPrintReceipt.printStatus | outboundPrintStatusFilter"></td>
                        <td ng-bind="outboundPrintReceipt.printPerson"></td>
                        <td ng-bind="outboundPrintReceipt.printTime"></td>
                        <td ng-bind="outboundPrintReceipt.printNum"></td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="admin-table-page" style="text-align: center;">
            <div id="pages" class="page">
            </div>
        </div>
    </div>
</div>